/*
 * Copyright 2022 The Kubernetes Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import 'mixins';
@import 'index';
@import '../ExpandableSection/mixins';

@include Wizard {
  @include WizardHeader {
    background-color: var(--color-sidecar-background-01);
    color: inherit;
  }

  @include WizardDescription {
    color: inherit;

    @include ExpandableSectionButton {
      background: none;
      color: var(--color-text-01);
    }
  }

  @include NoBottomMargin {
    @include WizardDescription {
      margin-bottom: 0;
    }
  }
}

@include WizardFooter {
  justify-content: flex-end;
}

@include WizardNavItem {
  /* These two rules override default user agent styling on button */
  padding: 0;
  font-size: inherit;
  background: none;

  @include NotCurrent {
    color: inherit;

    @include Counter {
      color: var(--color-text-02);
    }
  }
}

@include Wizard {
  @include WizardNavItemDescription {
    margin: 0;
    color: var(--color-text-02);
    font-size: var(--pf-global--FontSize--sm);

    .paragraph {
      word-wrap: normal;
      word-break: normal;
    }
  }
}
